package com.atguigu.scala.chapter_06_simplification

object Scala_07 {
  def main(args: Array[String]): Unit = {
    def func1(string: String):String={
      return string*2
    }
    def func2(string: String):(String)=>String={
      return func1
    }
    println(func2("zhang")("ch"))

  }
}
